package com.trkj.pojos;

import java.io.Serializable;
import javax.persistence.*;
import java.math.BigDecimal;


/**
 * The persistent class for the YZR_MED_PURCH_DET database table.
 * 
 */
@Entity
@Table(name="YZR_MED_PURCH_DET")
@NamedQuery(name="YzrMedPurchDet.findAll", query="SELECT y FROM YzrMedPurchDet y")
public class YzrMedPurchDet implements Serializable {
	private static final long serialVersionUID = 1L;

	@Id
	/*@SequenceGenerator(allocationSize=1,name="YZR_MED_PURCH_DET_PURCHDETID_GENERATOR", sequenceName="SEQHIS")
	@GeneratedValue(strategy=GenerationType.SEQUENCE, generator="YZR_MED_PURCH_DET_PURCHDETID_GENERATOR")*/
	@Column(name="PURCH_DET_ID")
	private String purchDetId;

	@Column(name="PURCH_DET_GUIGE")
	private String purchDetGuige;

	@Column(name="PURCH_DET_MED_ID")
	private String purchDetMedId;

	@Column(name="PURCH_DET_NUMBER")
	private BigDecimal purchDetNumber;

	@Column(name="PURCH_DET_PURCH_ID")
	private String purchDetPurchId;

	@Column(name="PURCH_DET_SUP_ID")
	private String purchDetSupId;

	@Column(name="PURCH_DET_UNIT")
	private String purchDetUnit;

	@Column(name="PURCH_DET_YIJI_MONEY")
	private BigDecimal purchDetYijiMoney;

	public YzrMedPurchDet() {
	}

	public String getPurchDetId() {
		return this.purchDetId;
	}

	public void setPurchDetId(String purchDetId) {
		this.purchDetId = purchDetId;
	}

	public String getPurchDetGuige() {
		return this.purchDetGuige;
	}

	public void setPurchDetGuige(String purchDetGuige) {
		this.purchDetGuige = purchDetGuige;
	}

	public String getPurchDetMedId() {
		return this.purchDetMedId;
	}

	public void setPurchDetMedId(String purchDetMedId) {
		this.purchDetMedId = purchDetMedId;
	}

	public BigDecimal getPurchDetNumber() {
		return this.purchDetNumber;
	}

	public void setPurchDetNumber(BigDecimal purchDetNumber) {
		this.purchDetNumber = purchDetNumber;
	}

	public String getPurchDetPurchId() {
		return this.purchDetPurchId;
	}

	public void setPurchDetPurchId(String purchDetPurchId) {
		this.purchDetPurchId = purchDetPurchId;
	}

	public String getPurchDetSupId() {
		return this.purchDetSupId;
	}

	public void setPurchDetSupId(String purchDetSupId) {
		this.purchDetSupId = purchDetSupId;
	}

	public String getPurchDetUnit() {
		return this.purchDetUnit;
	}

	public void setPurchDetUnit(String purchDetUnit) {
		this.purchDetUnit = purchDetUnit;
	}

	public BigDecimal getPurchDetYijiMoney() {
		return this.purchDetYijiMoney;
	}

	public void setPurchDetYijiMoney(BigDecimal purchDetYijiMoney) {
		this.purchDetYijiMoney = purchDetYijiMoney;
	}

}